
# Fika makefile

GHC     = ghc
binary  = fika
sources = \
          Data.hs \
          InputParser.hs \
          Main.hs \
          OutputProcessing.hs \
          Reducer.hs \
          Validator.hs

all: build

build: $(binary)

$(binary): $(sources)
	$(GHC) --make -o $(binary) $(sources)

clean:
	rm -f a.out
	rm -f $(binary)
	rm -f *.o
	rm -f *.hi
